Skip to content

fix: restore JSON schema generation#117

Merged
joan-anthropic merged 1 commit intomainfrom
fix/json-schema-generation
Oct 27, 2025
Merged

fix: restore JSON schema generation#117
joan-anthropic merged 1 commit intomainfrom
fix/json-schema-generation

Conversation

@joan-anthropic
Copy link
Contributor

@joan-anthropic joan-anthropic commented Sep 25, 2025

Restores JSON schema file generation that was broken when we downgraded zod from v4 -> v3 (losing toJsonSchema) and upon implementing versioned schemas

@joan-anthropic joan-anthropic changed the base branch from main to feat/versioned-schemas September 25, 2025 19:35
package.json Outdated
}
},
"./mcpb-manifest.schema.json": "./dist/mcpb-manifest.schema.json",
"./mcpb-signature-info.schema.json": "./dist/mcpb-signature-info.schema.json"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider also checking in a "last known good" version of the schema, so manifests can refer to it via uri instead of requiring cloning + building

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asklar , would you be able to access those via something like https://unpkg.com? or would they need to be visible in this repo?

Copy link
Contributor

@asklar asklar Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if at all possible, we'd prefer to have this in the repo rather than unpkg, as it simplifies SBOM.

@joan-anthropic joan-anthropic requested a review from a team October 17, 2025 04:47
@joan-anthropic joan-anthropic changed the base branch from feat/versioned-schemas to main October 21, 2025 00:12
- Refactor JSON schema generation to use zod-to-json-schema
- Publish manifest schema to schemas/ directory
- Update package.json exports for schema files
- Add WIP version 0.3 support
- Clean up schema generation scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@joan-anthropic joan-anthropic force-pushed the fix/json-schema-generation branch from 9b37b1e to 2a0ba89 Compare October 21, 2025 00:16
@joan-anthropic joan-anthropic merged commit ef6908e into main Oct 27, 2025
6 checks passed
bryan-anthropic pushed a commit to bryan-anthropic/mcpb that referenced this pull request Oct 28, 2025
…schema-generation

fix: restore JSON schema generation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants